package com.dushibao.service;

import com.dushibao.entity.GoodsClass;
import com.dushibao.utils.Page;

import java.util.List;

/**
 * 商品分类 服务类
 *
 * @author zqd
 * @date 2022-08-04 23:26:16
 */
public interface GoodsClassService {

    List<GoodsClass> getParents();

    Integer save(GoodsClass goodsClass);

    Page page();

    GoodsClass getById(long id);

    Integer saveOrUpdate(GoodsClass goodsClass);

    Integer deleteById(List<Long> ids);

    GoodsClass getByPid(long pid);

}
